from bs4 import BeautifulSoup								#导入库
soup = BeautifulSoup(open('index.html'),'lxml')					#创建对象
for string in soup.strings:									#遍历strings
	print(repr(string))										#将对象转化为可解析形式
